package com.match.pattern.factory.abstractfactory;

import com.match.pattern.factory.abstractfactory.facade.Flyable;
import com.match.pattern.factory.abstractfactory.facade.Moveable;
import com.match.pattern.factory.abstractfactory.facade.Writeable;
import com.match.pattern.factory.abstractfactory.model.Aircraft;
import com.match.pattern.factory.abstractfactory.model.Car;
import com.match.pattern.factory.abstractfactory.model.Pen;

public class ConcreteFactory extends AbstractFactory{

	@Override
	Flyable createFlyable() {
		return new Aircraft();
	}

	@Override
	Moveable createMoveable() {
		return new Car();
	}

	@Override
	Writeable createWriteable() {
		return new Pen();
	}


}
